<?php /* Smarty version 2.6.26, created on 2014-10-24 18:11:14
         compiled from newslist.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'mb_substr', 'newslist.html', 26, false),array('modifier', 'date_format', 'newslist.html', 29, false),)), $this); ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>个人博客</title>
<meta name="keywords" content="个人博客" />
<meta name="description" content="如影随形主题的个人博客，神秘、俏皮。" />
<link href="<?php echo @__VIEW__; ?>
IndexStyle/css/base.css" rel="stylesheet">
<link href="<?php echo @__VIEW__; ?>
IndexStyle/css/style.css" rel="stylesheet">
<link href="<?php echo @__VIEW__; ?>
IndexStyle/css/media.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<!--[if lt IE 9]>
<script src="<?php echo @__VIEW__; ?>
IndexStyle/js/modernizr.js"></script>
<![endif]-->
</head>
<body>
  <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  <article>
    <h2 class="about_h">您现在的位置是：<a href="index.php">首页</a>><a><?php echo $this->_tpl_vars['CurrentCategory']; ?>
</a></h2>
    <div class="bloglist">
    <?php unset($this->_sections['list']);
$this->_sections['list']['loop'] = is_array($_loop=$this->_tpl_vars['bloglist']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['list']['name'] = 'list';
$this->_sections['list']['show'] = true;
$this->_sections['list']['max'] = $this->_sections['list']['loop'];
$this->_sections['list']['step'] = 1;
$this->_sections['list']['start'] = $this->_sections['list']['step'] > 0 ? 0 : $this->_sections['list']['loop']-1;
if ($this->_sections['list']['show']) {
    $this->_sections['list']['total'] = $this->_sections['list']['loop'];
    if ($this->_sections['list']['total'] == 0)
        $this->_sections['list']['show'] = false;
} else
    $this->_sections['list']['total'] = 0;
if ($this->_sections['list']['show']):

            for ($this->_sections['list']['index'] = $this->_sections['list']['start'], $this->_sections['list']['iteration'] = 1;
                 $this->_sections['list']['iteration'] <= $this->_sections['list']['total'];
                 $this->_sections['list']['index'] += $this->_sections['list']['step'], $this->_sections['list']['iteration']++):
$this->_sections['list']['rownum'] = $this->_sections['list']['iteration'];
$this->_sections['list']['index_prev'] = $this->_sections['list']['index'] - $this->_sections['list']['step'];
$this->_sections['list']['index_next'] = $this->_sections['list']['index'] + $this->_sections['list']['step'];
$this->_sections['list']['first']      = ($this->_sections['list']['iteration'] == 1);
$this->_sections['list']['last']       = ($this->_sections['list']['iteration'] == $this->_sections['list']['total']);
?>
      <div class="newblog">
        <ul>
          <h3><a href="index.php?m=Index&c=index&a=view&bid=<?php echo $this->_tpl_vars['bloglist'][$this->_sections['list']['index']]['bid']; ?>
&cid=<?php echo $this->_tpl_vars['bloglist'][$this->_sections['list']['index']]['cid']; ?>
"><?php echo $this->_tpl_vars['bloglist'][$this->_sections['list']['index']]['title']; ?>
</a></h3>
          <div class="autor"><span>作者：艾力</span><span>分类：[<a href="/"><?php echo $this->_tpl_vars['bloglist'][$this->_sections['list']['index']]['catname']; ?>
</a>]</span><span>浏览（<a href="/"><?php echo $this->_tpl_vars['bloglist'][$this->_sections['list']['index']]['click']; ?>
</a>）</span></div>
          <p><?php echo ((is_array($_tmp=$this->_tpl_vars['bloglist'][$this->_sections['list']['index']]['content'])) ? $this->_run_mod_handler('mb_substr', true, $_tmp, 0, 126, 'utf-8') : mb_substr($_tmp, 0, 126, 'utf-8')); ?>
<a href="index.php?m=Index&c=index&a=view&bid=<?php echo $this->_tpl_vars['bloglist'][$this->_sections['list']['index']]['bid']; ?>
&cid=<?php echo $this->_tpl_vars['bloglist'][$this->_sections['list']['index']]['cid']; ?>
" class="readmore">全文</a></p>
        </ul>
        <figure><img src="<?php echo @__ROOT__; ?>
/<?php echo $this->_tpl_vars['bloglist'][$this->_sections['list']['index']]['thumb']; ?>
" ></figure>
        <div class="dateview"><?php echo ((is_array($_tmp=$this->_tpl_vars['bloglist'][$this->_sections['list']['index']]['addtime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%Y-%m-%d') : smarty_modifier_date_format($_tmp, '%Y-%m-%d')); ?>
</div>
      </div>
      <?php endfor; endif; ?>
    </div>
    <div class="page"><?php echo $this->_tpl_vars['page']; ?>
</div>
  </article>
  <aside>
    <div class="rnav">
      <li class="rnav1 "><a href="index.php?m=Index&c=Index&a=newsList&cid=1">互联网</a></li>
      <li class="rnav2 "><a href="index.php?m=Index&c=Index&a=newsList&cid=2">军事</a></li>
      <li class="rnav3 "><a href="index.php?m=Index&c=Index&a=newsList&cid=3">国际</a></li>
      <li class="rnav4 "><a href="index.php?m=Index&c=Index&a=newsList&cid=4">科技</a></li>
    </div>
    <div class="ph_news">
      <h2>
        <p>点击排行</p>
      </h2>
      <ul class="ph_n">
      <?php unset($this->_sections['click']);
$this->_sections['click']['loop'] = is_array($_loop=$this->_tpl_vars['Click']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['click']['name'] = 'click';
$this->_sections['click']['show'] = true;
$this->_sections['click']['max'] = $this->_sections['click']['loop'];
$this->_sections['click']['step'] = 1;
$this->_sections['click']['start'] = $this->_sections['click']['step'] > 0 ? 0 : $this->_sections['click']['loop']-1;
if ($this->_sections['click']['show']) {
    $this->_sections['click']['total'] = $this->_sections['click']['loop'];
    if ($this->_sections['click']['total'] == 0)
        $this->_sections['click']['show'] = false;
} else
    $this->_sections['click']['total'] = 0;
if ($this->_sections['click']['show']):

            for ($this->_sections['click']['index'] = $this->_sections['click']['start'], $this->_sections['click']['iteration'] = 1;
                 $this->_sections['click']['iteration'] <= $this->_sections['click']['total'];
                 $this->_sections['click']['index'] += $this->_sections['click']['step'], $this->_sections['click']['iteration']++):
$this->_sections['click']['rownum'] = $this->_sections['click']['iteration'];
$this->_sections['click']['index_prev'] = $this->_sections['click']['index'] - $this->_sections['click']['step'];
$this->_sections['click']['index_next'] = $this->_sections['click']['index'] + $this->_sections['click']['step'];
$this->_sections['click']['first']      = ($this->_sections['click']['iteration'] == 1);
$this->_sections['click']['last']       = ($this->_sections['click']['iteration'] == $this->_sections['click']['total']);
?>
        <li><span class="num<?php if ($this->_sections['click']['index'] < 3): ?><?php echo $this->_sections['click']['index']+1; ?>
<?php endif; ?>"><?php echo $this->_sections['click']['index']+1; ?>
</span><a href="index.php?m=Index&c=index&a=view&bid=<?php echo $this->_tpl_vars['Click'][$this->_sections['click']['index']]['bid']; ?>
&cid=<?php echo $this->_tpl_vars['Click'][$this->_sections['click']['index']]['cid']; ?>
"><?php echo $this->_tpl_vars['Click'][$this->_sections['click']['index']]['title']; ?>
</a></li>
      
      <?php endfor; endif; ?>
      </ul>
      <h2>
        <p>栏目推荐</p>
      </h2>
      <ul>
        <?php unset($this->_sections['CatHot']);
$this->_sections['CatHot']['loop'] = is_array($_loop=$this->_tpl_vars['CatHot']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['CatHot']['name'] = 'CatHot';
$this->_sections['CatHot']['show'] = true;
$this->_sections['CatHot']['max'] = $this->_sections['CatHot']['loop'];
$this->_sections['CatHot']['step'] = 1;
$this->_sections['CatHot']['start'] = $this->_sections['CatHot']['step'] > 0 ? 0 : $this->_sections['CatHot']['loop']-1;
if ($this->_sections['CatHot']['show']) {
    $this->_sections['CatHot']['total'] = $this->_sections['CatHot']['loop'];
    if ($this->_sections['CatHot']['total'] == 0)
        $this->_sections['CatHot']['show'] = false;
} else
    $this->_sections['CatHot']['total'] = 0;
if ($this->_sections['CatHot']['show']):

            for ($this->_sections['CatHot']['index'] = $this->_sections['CatHot']['start'], $this->_sections['CatHot']['iteration'] = 1;
                 $this->_sections['CatHot']['iteration'] <= $this->_sections['CatHot']['total'];
                 $this->_sections['CatHot']['index'] += $this->_sections['CatHot']['step'], $this->_sections['CatHot']['iteration']++):
$this->_sections['CatHot']['rownum'] = $this->_sections['CatHot']['iteration'];
$this->_sections['CatHot']['index_prev'] = $this->_sections['CatHot']['index'] - $this->_sections['CatHot']['step'];
$this->_sections['CatHot']['index_next'] = $this->_sections['CatHot']['index'] + $this->_sections['CatHot']['step'];
$this->_sections['CatHot']['first']      = ($this->_sections['CatHot']['iteration'] == 1);
$this->_sections['CatHot']['last']       = ($this->_sections['CatHot']['iteration'] == $this->_sections['CatHot']['total']);
?>
        <li><span class="num<?php echo $this->_sections['CatHot']['index']+1; ?>
"><?php echo $this->_sections['CatHot']['index']+1; ?>
</span><a href="index.php?m=Index&c=index&a=view&bid=<?php echo $this->_tpl_vars['CatHot'][$this->_sections['CatHot']['index']]['bid']; ?>
&cid=<?php echo $this->_tpl_vars['CatHot'][$this->_sections['CatHot']['index']]['cid']; ?>
"><?php echo $this->_tpl_vars['CatHot'][$this->_sections['CatHot']['index']]['title']; ?>
</a></li>
      <?php endfor; endif; ?>
      </ul>
    </div>
    <div class="copyright">
      <ul>
        <p> Design by <a>Uyweb</a></p>
        <p></p>
        </p>
      </ul>
    </div>
  </aside>
  <script src="<?php echo @__VIEW__; ?>
IndexStyle/js/silder.js"></script>
  <div class="clear"></div>
  <!-- 清除浮动 --> 
</div>
</body>
</html>